package com.heima.article.controller.v1;


import com.heima.api.UserClient;
import com.heima.article.service.LoadArticleService;
import com.heima.model.article.dtos.ArticleBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoadArticleBehaviorController {

    @Autowired
    private LoadArticleService loadArticleBehavior;
    @PostMapping("/api/v1/article/load_article_behavior")
    public ResponseResult LoadArticle(@RequestBody ArticleBehaviorDto dto){
        return loadArticleBehavior.loadArticleBehavior(dto);
    }

}
